package com.lyc.controller;

import com.lyc.Service.StudentService;
import com.lyc.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class StudentController {

    @Autowired
    private StudentService studentService;


    public Student getStudent() {
        return studentService.getStudent();
    }
}
